package com.heima.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.admin.dtos.ChannelDto;
import com.heima.model.admin.pojos.AdChannel;
import com.heima.model.common.dtos.PageResponseResult;
import com.heima.model.common.dtos.ResponseResult;
import org.springframework.stereotype.Service;


public interface AdChannelService extends IService<AdChannel> {
    // 分页查询
    public ResponseResult findByNameAndPage(ChannelDto channelDto);
    public ResponseResult add(AdChannel adChannel);
    public ResponseResult editChannel(AdChannel adChannel);
    public ResponseResult deleteChannel(Integer adChannelId);

}
